﻿@model IEnumerable<XPressify.Data.User>

@{
    ViewBag.Title = "Friends list";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Friends list</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th></th>
        <th>
            FullName
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink("Delete", "Delete", new { id=item.Id })
        </td>
        <td>
            @item.FullName
        </td>
    </tr>
}

</table>

